package com.felix.headFirst.behavior.entity;

import com.felix.headFirst.behavior.impl.FlyNoWay;
import com.felix.headFirst.behavior.impl.Quack;

public class ModelDuck extends  Duck {
    public  ModelDuck(){
        flyBehavior = new FlyNoWay();
        quackBehavior = new Quack();
    }
    @Override
    void display() {
        System.out.println("I'm a model duck");
    }
}
